 #ifndef SONG_WIDGET_H
 #define SONG_WIDGET_H

 #include "ui_song_widget.h"
#include <QTextCodec>



 class song_widget : public QWidget
 {
     Q_OBJECT

 public:
     song_widget(QWidget *parent = 0,QString song_path = QString("./"));
	QTextCodec *codec;
	QString global_song_path;

 private slots:
    // void on_inputSpinBox1_valueChanged(int value);
    // void on_inputSpinBox2_valueChanged(int value);
    
    void load_song(int number);
    void on_add_to_playlist_released();
    void on_remove_from_playlist_released();
    void on_playlist_itemDoubleClicked(QListWidgetItem *current_item);
    void on_verse_list_currentRowChanged(int new_row);
    void on_song_selector_table_cellDoubleClicked(int x, int y);
    void on_verse_list_itemDoubleClicked(QListWidgetItem *current_item);
    void on_clear_button_released();
    void on_show_button_released();
    void on_fast_button_released();
    void on_song_spinbox_valueChanged(int new_value);
    
signals:
	
	void show_verse(QString body, QString caption);

 private:
     Ui::song_widget ui;
 };

#endif 
